import { DashboardIcon } from 'tdesign-icons-vue';
import Layout from '@/layouts/index.vue';

export default [
    {
        path: '/staff',
        component: Layout,
        redirect: '/staff/list',
        name: 'staff',
        meta: {
            title: '用户管理',
             icon: 'icon-yuangongguanli',
        },
        children: [
            {
                path: 'list',
                name: 'StaffList',
                component: () => import('@/pages/staff/list/index.vue'),
                meta: { title: '用户账号' },
            },
            //{
            //    path: 'role',
            //    name: 'StaffRole',
            //    component: () => import('@/pages/staff/role/index.vue'),
            //    meta: { title: '角色管理' },
            //},
            //{
            //    path: 'group',
            //    name: 'StaffGroup',
            //    component: () => import('@/pages/staff/group/index.vue'),
            //    meta: { title: '分组管理' },
            //}
        ],
    },
];
